﻿using System.Xml.Serialization;

namespace HamcoWcs.Models.TibcoMessage
{

    [XmlRoot("MESSAGE")]
    public class AlarmReportMessage : BaseTibcoMessage<AlarmReportMessageBody>
    {
        public AlarmReportMessage()
        {

        }

        public AlarmReportMessage(AlarmReportMessageBody body = null, string inboxName = "", string listener = "") : base("AlarmReport", body, inboxName, listener)
        {
        }
    }

    public class AlarmReportMessageBody
    {
        public AlarmReportMessageBody()
        {

        }
        public string MACHINENAME { get; set; }
        public string UNITNAME { get; set; }
        public string ALARMCODE { get; set; }
        public string ALARMLEVEL { get; set; }
        public string ALARMTEXT { get; set; }
        public string ALARMSTATE { get; set; }
    }
}
